package com.liming.common.pojo.dto.order.user.mini;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @author liming
 * @date 2025/4/10
 */
@Data
@Schema(description = "小程序 - 用户评价订单")
public class MiniOrderEvaluateDTO {

    @Schema(description = "订单ID")
    private Long orderId;

    @Schema(description = "订单编号")
    private String orderNo;

    @Schema(description = "订单评分")
    private Float rating;

    @Schema(description = "评价内容")
    private String reviewText;

    @Schema(description = "匿名评价? 0 表示实名，1 表示匿名")
    private Integer anonymous;

    @Schema(description = "评价 - 订单中的商品列表")
    private List<MiniProductEvaluateDTO> productEvaluateList;
}
